.loader {
	height: 30px;
	width: 30px;
	top:50%;
	left: 50%;
	position: absolute;
	-webkit-animation:spin 1.5s linear infinite;
	-moz-animation:spin 1.5s linear infinite;
	margin-left:-15px;
	margin-top:-15px;
	display: none;
}
.loader i {
	height: 30px;
	width: 30px;
	border-radius: 25px;
	display: block;
	position:absolute;
}
.loader i:before, .loader i:after {
	content:'';
	display:block;
	position:absolute;
	height:inherit;
	width:inherit;
	border-radius: inherit;
}
.loader i:first-child:before {
	background:rgba(52, 149, 221, 0.7);
	-webkit-animation:rotate-top-left 1.5s linear infinite;
	-moz-animation:rotate-top-left 1.5s linear infinite;
}
.loader i:first-child:after {
	background:rgba(225, 73, 44, 0.7);
	-webkit-animation:rotate-top-right 1.5s linear infinite;
	-moz-animation:rotate-top-right 1.5s linear infinite;
}
.loader i:last-child:before {
	background:rgba(249, 206, 43, 0.7);
	-webkit-animation:rotate-bottom-left 1.5s linear infinite;
	-moz-animation:rotate-bottom-left 1.5s linear infinite;
}
.loader i:last-child:after {
	background:rgba(0, 153, 117, 0.7);
	-webkit-animation:rotate-bottom-right 1.5s linear infinite;
	-moz-animation:rotate-bottom-right 1.5s linear infinite;
}
 @-webkit-keyframes spin { 0% {
 -webkit-transform:rotate(0deg);
}
 50% {
 -webkit-transform:rotate(-180deg);
}
 100% {
 -webkit-transform:rotate(-360deg);
}
}
 @-webkit-keyframes rotate-top-right { 0% {
 -webkit-transform:rotate(0deg);
}
 50% {
 -webkit-transform:rotate(-180deg);
 -webkit-transform-origin: 20% 20%;
}
 100% {
 -webkit-transform:rotate(-360deg);
}
}
 @-webkit-keyframes rotate-top-left { 0% {
 -webkit-transform:rotate(0deg);
}
 50% {
 -webkit-transform:rotate(180deg);
 -webkit-transform-origin: 80% 20%;
}
 100% {
 -webkit-transform:rotate(360deg);
}
}
 @-webkit-keyframes rotate-bottom-right { 0% {
 -webkit-transform:rotate(0deg);
}
 50% {
 -webkit-transform:rotate(-180deg);
 -webkit-transform-origin: 80% 80%;
}
 100% {
 -webkit-transform:rotate(-360deg);
}
}
 @-webkit-keyframes rotate-bottom-left { 0% {
 -webkit-transform:rotate(0deg);
}
 50% {
 -webkit-transform:rotate(180deg);
 -webkit-transform-origin: 20% 80%;
}
 100% {
 -webkit-transform:rotate(360deg);
}
}
 @-moz-keyframes spin { 0% {
 -moz-transform:rotate(0deg);
}
 50% {
 -moz-transform:rotate(-180deg);
}
 100% {
 -moz-transform:rotate(-360deg);
}
}
 @-moz-keyframes rotate-top-right { 0% {
 -moz-transform:rotate(0deg);
}
 50% {
 -moz-transform:rotate(-180deg);
 -moz-transform-origin: 20% 20%;
}
 100% {
 -moz-transform:rotate(-360deg);
}
}
 @-moz-keyframes rotate-top-left { 0% {
 -moz-transform:rotate(0deg);
}
 50% {
 -moz-transform:rotate(180deg);
 -moz-transform-origin: 80% 20%;
}
 100% {
 -moz-transform:rotate(360deg);
}
}
 @-moz-keyframes rotate-bottom-right { 0% {
 -moz-transform:rotate(0deg);
}
 50% {
 -moz-transform:rotate(-180deg);
 -moz-transform-origin: 80% 80%;
}
 100% {
 -moz-transform:rotate(-360deg);
}
}
 @-moz-keyframes rotate-bottom-left { 0% {
 -moz-transform:rotate(0deg);
}
 50% {
 -moz-transform:rotate(180deg);
 -moz-transform-origin: 20% 80%;
}
 100% {
 -moz-transform:rotate(360deg);
}
}

.spinner {
  width: 150px;
  text-align: center;
  display: none;
  position: absolute;
  top:50%;
  left: 50%;
  margin-left: -75px;
}
 
.spinner > div {
  width: 30px;
  height: 30px;
  background-color: #FFD52B;
 
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
 
.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
  background-color: #FF6600;
}
 
.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
  background-color: #FF9900;
}
 
@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}
 
@keyframes bouncedelay {
  0%, 80%, 100% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}	
